<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>权限列表</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid name="permissionList" idField="id" action="permission.do?datagrid&permiType=2&parentPermiId=${permissionId }" title="权限列表">
			<ui:column field="id" title="编码" sortable="false" hidden="true" />
			<ui:column field="permiName"  title="权限名称" sortable="false" query="true" />
			<ui:column field="permiCode" title="权限编码" sortable="false" query="true" />
			<ui:column field="permiIcon" title="权限图标" hidden="true" sortable="false" />
			<ui:column field="permiDepict" title="权限描述" hidden="true" sortable="false" />
			<ui:column field="permiType" title="权限类型" dictionary="permiType" sortable="false" />
			<ui:column field="permiOrder" title="权限排序" hidden="true" sortable="false" />
			<ui:column field="permiUrl" title="访问URL" sortable="false" width="100" />
			<ui:column field="opt" title="操作" align="center" />
			<ui:deleteOpt url="permission.do?delete&id={id}" permiCode="system:permission:delete" message="确定要删除权限[{permiCode}][{permiName}]吗？" title="删除权限" />
			<ui:toolbar iconCls="add" title="新增权限" permiCode="system:permission:save" url="permission.do?permission&parentPermiId=${permissionId }" funname="add" height="220px" />
			<ui:toolbar iconCls="edit" title="编辑权限" permiCode="system:permission:save" url="permission.do?permission&parentPermiId=${permissionId }" funname="update" height="220px" />
		</ui:datagrid>
	</body>
</html>